package 线程.day2.demo4;

public class MyDaemon implements Runnable{
    @Override
    public void run() {
        for(long i=0;i<9999999L;i++){
            System.out.println("后台线程i="+i);
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
